﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Landscape.Business.EqualityComparers
{
    public class SystemModuleComparer : IEqualityComparer<Entities.SystemModule>
    {
        public bool Equals(Entities.SystemModule x, Entities.SystemModule y)
        {
            return x.ID == y.ID;
        }

        public int GetHashCode(Entities.SystemModule obj)
        {
            return obj.ID.GetHashCode();
        }
    }
}
